package net.maku.module.business.service;

import com.alibaba.fastjson.JSONArray;
import net.maku.module.business.entity.DictionariesSubsetEntity;
import net.maku.newbase.NewBaseService;

import java.util.Map;

/**
 * 业务_字典子类
 *
 * @author
 */
public interface DictionariesSubsetService extends NewBaseService<DictionariesSubsetEntity> {

    /**
     * 查询 根据父id
     *
     * @param pid
     * @return
     */
    JSONArray findByDictId(Long pid);

    Map<Long, String> dict(JSONArray jsonArray);
}